﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using PIP.Core;

namespace PIP.EntityFramwork.Core
{
    /// <summary>
    /// 数据库上下文
    /// </summary>
    [AppDbContext("SqlServerHISDbConnectionString")] 
    public class HISDbContext : AppDbContext<HISDbContext, HISContextLocator>  
    {
        public HISDbContext(DbContextOptions<HISDbContext> options)
            : base(options)
        {
        }
        //public virtual DbSet<Employee> Employee { get; set; }
        //protected override void OnModelCreating(ModelBuilder modelBuilder)
        //{
        //    base.OnModelCreating(modelBuilder);
        //}

        
    }
}